// import { useState } from "react";
import st from "./search.module.css";
import EDIT from "../../assets/img/edit.svg";
import { useInput } from "../../hooks";
const Search = ({ value, handleChange }: any) => {
  return (
    <div className={st.searchBar}>
      <div className={st.input}>
        <img src={EDIT} className={st.searchIcon} />
        <input
          type="text"
          placeholder="请输入会员昵称/手机号"
          value={value}
          onChange={handleChange}
        />
      </div>
    </div>
  );
};
export default Search;
